﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PSE.Framework.Communication.Adapters;

namespace PSE.Framework.Communication.Client
{
    /// <summary>
    /// Classe base dos clients de entrada
    /// </summary>
    /// <typeparam name="TOpenParameter">Tipo do parâmetro de abertura do processo</typeparam>
    public abstract class BaseInputClient<TOpenParameter> : CommunicationClient<TOpenParameter>
        where TOpenParameter : class
    {
        #region Construtores
        /// <summary>
        /// Construtor padrão
        /// </summary>
        public BaseInputClient()
            : base()
        {

        }
        #endregion

        #region Adapter
        /// <summary>
        /// Adapter encapsulado pelo client
        /// </summary>
        protected new IBaseInputAdapter Adapter
        {
            get { return (IBaseInputAdapter)base.Adapter; }
        }
        #endregion
    }
}
